home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Headers / gamekit / InfoController.h < prev    next >
Text File  |  1995-06-12  |  1KB  |  46 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. #define unRegSerial "NREG"
  5.  
  6. @interface InfoController:Object
  7. {
  8.     id  niftyView;
  9.     id    strings;        // localized strings
  10.     id    infoPanel;
  11.     id    registerPanel;
  12.     id    orderFormPanel;
  13.     id  regText;
  14.     id  costText;
  15.     id  regNumText;
  16.     id  versionText;
  17.     id  versionDateText;
  18.     
  19.     char *keyFileName;
  20.     char *key, *serialNum;
  21. }
  22.  
  23. - init;                    // make a new instance.
  24. - appDidInit:sender;    // forwarded by GameBrain
  25. - niftyView;
  26. - readKey;
  27. - writeKey;
  28. - (BOOL)keyOK;
  29. - infoPanel;            // return the infoPanel, or load it.
  30. - registerPanel;        // return the registerPanel, or load it.
  31. - orderFormPanel;        // return the orderFormPanel, or load it.
  32. - (const char *)versionString;    // return current version
  33. - info:sender;            // make the info panel be up there.
  34. - readme:sender;        // make the readme panel be up there.
  35. - registration:sender;    // make the register panel be up there.
  36. - orderForm:sender;        // make the order form panel be up there.
  37. - (BOOL)notRegistered;    // tell if we're registered or not.
  38. - registerGame:sender;    // accept registration...or not...
  39. - cancelRegistration:sender;        // cancel registration modal loop...
  40. - suggestion:sender;    // This is pretty much lifted from Opener.
  41. - costCalc:sender;        // Calculate the cost of the licenses.
  42. - printOrderForm:sender;    // Do -costCalc and then print orderForm.
  43. - license:sender;        // bring up license in help panel.
  44.  
  45. @end
  46.